//
//  PeopleModel.h
//  ReviewDemo
//
//  Created by 龙 on 2018/3/14.
//  Copyright © 2018年 long. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CarModel.h"
#import "DogModel.h"
#import "NSObject+ModelJson.h"

@interface PeopleModel : NSObject<NSCoding,ModelJsonDelegate>

@property (nonatomic ,strong) CarModel *myCar;
@property (nonatomic ,strong) NSString *name;
@property (nonatomic ,strong) NSString *age;
@property (nonatomic ,strong) NSString *textString;
@property (nonatomic ,assign) BOOL sex;
@property (nonatomic ,assign) NSInteger length;
@property (nonatomic ,assign) float height;
@property (nonatomic ,strong) NSArray<CarModel *> *carsArray;
@property (nonatomic ,strong) NSArray<DogModel *> *dogsArray;

@property (nonatomic ,strong) NSDictionary *catDict;

//objc_requires_super属性表示子类必须调用被修饰的方法super，否则报黄色警告。
- (void)eatFood:(NSString *)food __attribute__((objc_requires_super));

- (NSString *)getHobby;

+ (void)getClassInfo;

@end
